import { createSSRApp } from "vue";
import App from "./App.vue";
import { createPinia } from 'pinia';
export function createApp() {
  const app = createSSRApp(App);
  app.use(createPinia());
  return {
    app,
  };
}
/*
// src/main.ts
import { createApp } from 'vue';
import { createPinia } from 'pinia';  // 导入 Pinia
import App from './App.vue';

const app = createApp(App);

// 使用 Pinia 插件
app.use(createPinia());

app.mount('#app');
*/

